<%--
  Created by IntelliJ IDEA.
  User: ZY
  Date: 2022/4/30
  Time: 14:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<!-- 网页使用的语言 -->
<html lang="zh-CN">
<head>

    <!-- 指定字符集 -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>修改宿舍信息</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <script src="js/jquery-2.1.0.min.js"></script>
    <script src="js/bootstrap.min.js"></script>

</head>
<body>
<div class="container" style="width: 400px;">
    <h3 style="text-align: center;">修改宿舍信息</h3>
    <form action="${pageContext.request.contextPath}/updateDromServlet" method="post">
        <%--隐藏域提交id--%>
        <input type="hidden" name="drom_id" value="${drom.drom_id}">
        <div class="form-group">
            <label for="b_name">楼宇：</label>
            <input type="text" class="form-control" id="b_name" name="drom_buildid" value="${drom.drom_buildid}" readonly="readonly" placeholder="请输入楼宇" />
        </div>



        <div class="form-group">
            <label for="dr_number">寝室号：</label>
            <input type="text" class="form-control" id="dr_number"  name="drom_name" value="${drom.drom_name}" placeholder="请输入寝室号" />
        </div>



        <div class="form-group">
            <label for="dr_type">寝室类型：</label>
            <input type="text" class="form-control" id="dr_type" name="drom_type" value="${drom.drom_type}" placeholder="请输入寝室类型"/>
        </div>
        <div class="form-group">
            <label for="dr_people">寝室人数：</label>
            <input type="text" class="form-control" id="dr_people" name="drom_number" value="${drom.drom_number}" placeholder="请输入寝室人数"/>
        </div>
        <div class="form-group">
            <label for="dr_phone">寝室电话：</label>
            <input type="text" class="form-control" id="dr_phone" name="drom_tel" value="${drom.drom_tel}" placeholder="请输入寝室电话"/>
        </div>



        <div class="form-group" style="text-align: center">
            <input class="btn btn-primary" type="submit" value="提交" />
            <input class="btn btn-default" type="reset" value="重置" />
            <input class="btn btn-default" type="button" value="返回"/>
        </div>
    </form>
</div>
</body>
</html>

